import request from '@/utils/request'

export default {
  // 分页查询讲师
  createOrder(courseId) {
    return request({
      url: `/order/order/createOrder/${courseId}`,
      method: 'post'
    })
  },

  getOrderInfo(orderNo) {
    return request({
      url: `/order/order/getOrderInfo/${orderNo}`,
      method: 'get'
    })
  },

  createNative(orderNo) {
    return request({
      url: `/order/paylog/createNative/${orderNo}`,
      method: 'get'
    })
  },

  getPayStatus(orderNo) {
    return request({
      url: `/order/paylog/getPayStatus/${orderNo}`,
      method: 'get'
    })
  }

}
